"use client";
import { Toaster } from "@/components/ui/sonner";
export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  // 简单的判断
  return (
    <html lang="zh">
      <body className="font-sans antialiased">
        <main className="flex flex-grow row-start-2 w-full items-start justify-center">
          {children}
        </main>
      </body>
      <Toaster position="top-right" richColors />
    </html>
  );
}
